package com.wms.service;

import com.wms.bean.PageBean;
import com.wms.dto.PurchaseDto;
import com.wms.entity.Purchase2;

public interface PurchaseService2 {

    /**
     * 获取列表信息
     * @return
     */
    PageBean getAll(PurchaseDto purchaseDto);

    /**
     * 根据id获取采购单详情
     * @param id
     * @return
     */
    Purchase2 getById(int id);

    /**
     * 保存采购单
     * @param purchase2
     * @return
     */
    int save(Purchase2 purchase2);


}
